
#include "pixmap.h"
/** Format of a xpm-like (there is a real xpm format) pic:
 * <pre>
 * static char *picture_name[] = {
 * "number_of_x_pixels number_of_y_pixels number_of_colors",
 * "one_char_symbol the_char_symbol_color",
 * ... exactly number_of_colors lines as above
 * "any of the above one_char_symbol, exactly number_of_x_pixels times",
 * ... exactly number_of_y_pixels lines as above
 * };
 *
 * Example:
 *
 * static char *pic1[] = {  // the name os the picture, "pic1" in this case
 * "32 13 4",               // number of pixels in the x and y dimension,
 *                          //   and the number of colors, which follows.
 * ". 0",                   // mapping between symbols and colors; in this
 *                          //   case, the "." will be mapped to color 0
 * "x 2",                   // and the "x" to color 2
 * ...                      // the next symbol/color pairs
 * "................................", // first row, exactly 32 pixels, 
 *                                     // all color 0, BLACK
 * "..............xxx...............", // next row has three GREEN pixels
 *                                     // at the center
 * </pre>
 * Colors names/colors number equivalence are at c:/djgpp/include/conio.h
 *
 * Any real xpm picture can be read, as long as there are only 16
 * colors on it, and the colors are the ones available in conio.h.
 *
 *  To use other/more colors than the basic ones, the graphic card
 *  pallete must be programmed.
 */
char * arrow[]={
"8 5 2",
" 0",
"* 4",
"     *  ",
"     ** ",
"********",
"     ** ",
"     *  " 
};
char * enemyBall[]={
"8 5 2",
" 0",
"* 4",
"  ****  ",
" ****** ",
"********",
" ****** ",
"  ****  " 
};
char * playerBall[]={
"8 5 2",
" 1",
"* 4",
"********",
"*  **  *",
"********",
"**    **",
"********" 
};


/*
static char *pic1[] = {
  "32 13 4",
  ". 0",
  "x 2",
  "o 14",
  "+ 4",
  "................................",
  "..............xxx...............",
  "............xxxxxxx.............",
  ".........xxxxxx+xxxxxx..........",
  "......xxxxxxx+++++xxxxxxx.......",
  "....xxxxxxx+++++++++xxxxxxx.....",
  "....xxxxxxx+++++++++xxxxxxx.....",
  "......xxxxxxx+++++xxxxxxx.......",
  ".........xxxxxx+xxxxxx..........",
  "..........ooxxxxxxxoo...........",
  ".......ooo...........ooo........",
  ".....ooo...............ooo......",
  "...ooo...................ooo...."
};

static char *pic2[] = {
  "32 15 3",
  ". 0",
  "x 4",
  "+ 1", 
  "................................",
  "..............xxx...............",
  "............xxxxxxx.............",
  ".........xxxxxx+xxxxxx..........",
  "......xxxxxxx+++++xxxxxxx.......",
  "......xxxxxxx+++++xxxxxxx.......",
  "++++xxxxxxx+++++++++xxxxxxx+++++",
  "++++xxxxxxx+++++++++xxxxxxx+++++",
  "++++xxxxxxx+++++++++xxxxxxx+++++",
  "......xxxxxxx+++++xxxxxxx.......",
  "......xxxxxxx+++++xxxxxxx.......",
  ".........xxxxxx+xxxxxx..........",
  "............xxxxxxx.............",
  "..............xxx...............",
  "................................",
};

static char *cross[] = {
  "32 32 2",
  ". 0",
  "+ 13", 
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  ".............++.++..............",
  "............+.....+.............",
  "...........+.......+............",
  "+++++++++++.........++++++++++++",
  "...........+.......+............",
  "............+.....+.............",
  ".............++.++..............",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................",
  "...............+................", 
};

static char *pic3[] = {
  "64 32 3",
  ". 0",
  "+ 1",
  "o 2",
  "..............................++++++............................",
  ".........................++++++++++++++++.......................",
  "......................++++++++++++++++++++++....................",
  "....................++++++++++++++++++++++++++..................",
  ".................++++++++++++++++++++++++++++++++...............",
  "...............++++++++++++++++++++++++++++++++++++.............",
  ".............++++++++++++++++++++++++++++++++++++++++...........",
  "............++++++++++++++++++++++++++++++++++++++++++..........",
  "..........++++++++++++++++++++++++++++++++++++++++++++++........",
  ".........++++++++++++++++++++++++++++++++++++++++++++++++.......",
  "........+++++++++++++++++++++++++++++++++++++++++++++++++.......",
  ".......+++++++++++++++++++++++++++++++++++++++++++++++++++......",
  "......+++++++++++++++++++++++++++++++++++++++++++++++++++++.....",
  ".....++++++++++++++++++++++++++++++++++++++++++++++++++++++.....",
  "....++++++++++++++++++++++++++++++++++++++++++++++++++++++++....",
  "...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...",
  "...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...",
  "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..",
  "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..",
  ".++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.",
  ".+++++ooo+++++++++ooo+++++++++ooo+++++++++ooo+++++++++ooo++++++.",
  ".++++ooooo+++++++ooooo+++++++ooooo+++++++ooooo+++++++ooooo+++++.",
  ".+++ooooooo+++++ooooooo+++++ooooooo+++++ooooooo+++++ooooooo++++.",
  ".++++ooooo+++++++ooooo+++++++ooooo+++++++ooooo+++++++ooooo+++++.",
  ".+++++ooo+++++++++ooo+++++++++ooo+++++++++ooo+++++++++ooo++++++.",
  ".++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.",
  ".++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.",
  ".++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.",
  "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
  "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
  "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
  "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++",
};
*/
/* this one was converted from a 32 bits colors png! */ 
/*
static char * penguin[] = {
"64 64 9",
"  0",
". 15",
"+ 8",
"@ 14",
"# 4",
"$ 6",
"% 7",
"& 9",
"* 1",
"                                                                ",
"                                                                ",
"                           +#++#&+#+                            ",
"                        +..%......&.+++                         ",
"                     #...+..+.+.+.#.+.+++                       ",
"                    .*#%..+.%.&.#*+.#%.++++                     ",
"                  #.+.#*#%..+.#*#.%#*#+.++++                    ",
"                 .&.%......#*#.%.+.#&.+%#%++++                  ",
"                #*#..........+.+.+.+.+.++#+++++                 ",
"               &#.+..........%.+.&#*#&#*.+&+++++                ",
"              +.+.............#*#.+.......#++++++               ",
"             #+.+..............+.+..........+++++               ",
"            +&.+%..............%+............+++++              ",
"            ++.+#.............................+++++             ",
"           ++.+%.............#..#.............+++++             ",
"          +++.++%..........&   .   +..........++++++            ",
"          ++++.+...........#   .   ........%..+++++++           ",
"          ++%+#+&..........%#  .   &..........+++++++           ",
"         +++#*+#..%.........+&#..............%+++++++           ",
"         ++++%+++..%..%.........&.....%..%#..+++++++++          ",
"        +++++#+&+#.......%..................++++++++++          ",
"        ++++*++.+++.%.#...@@@@@@@@@@@@...%.+++++++++++          ",
"        +++++#+++%#$#.&.+.%@@@@@@@@@@...#++++++++++++++         ",
"        +++++&+.++++*.#.....@@@@@@@@......+++++++++&+++         ",
"       ++++++++++%#%....%....@@@@@@........+++++++++++%         ",
"       +++++++++++#...........@@@@@.........+++++++++++         ",
"       ++++++++++..............@@@...........+++++++++++        ",
"      +++++++++++...............@.............+++++%+++++       ",
"    ++++++++++++.....................%.........+++++++++++      ",
"   ++++++++++++%.........................%..%..%++++%++++++     ",
"  +++++++++++++...............................#.++++++++++++    ",
" +++++++++++++%..%.........................#.....++++++++++++   ",
"++++++++++++++........................%..%..%.+.%++%++++++++++  ",
"++++++++++++++...................................#++%++++++++++ ",
"    +++++++++...%..%.....................%.+.%#.%.++++++        ",
"       ++++++%....................%...........$.#.#+#%+         ",
"       +++++#........................%..#..+.#.%$%+&+++         ",
"        ++++&.#.%..%....................%...*#.#...+#++         ",
"        ++++..%...........................%..%.+.+.+&++         ",
"        +++++...%.....%.........%...%..+..#.#..#.%.+#+          ",
"        ++++..#...%......%...............&.*.+.*#$#&++          ",
"         +++..*#...%.........%.....#..%...#.%.#%.+..++          ",
"         +++.#...#..............%...%..#..&.#*#.+.+++           ",
"          ++.%.&...%..%..%..........#..*#..+..+.#%.++           ",
"          ++..#..+..........%...%..$..%..+..&#*.+.+++           ",
"           +*.+.....%............#..$.#...+.#.+.+%.+            ",
"           +...%.+.#..%.%..#.%.#..%.#.*#%..&.+.+.+++            ",
"            +.+.......#..%.....%...%.#..&#$#%.+.+.+             ",
"            #..%#*#%....#..+..$..+..+.&#.+.+.+%+#&              ",
"             +.....#*#$.+...%.#...+....+.%#*#.+.+               ",
"              +.+.&..%..%.+.#.&.+..&#+.+.+.+.++++               ",
"               %..+.#.+.+.+.*#..%#.$.+.&#*#&#%.+                ",
"                +.%#*#%#$.%#.+.+.+.+%#$#+%#*+++                 ",
"                 @#.#$#%++.+.%.+.&.#*#%+#$##$#                  ",
"          .@.@@@@@@@@@@$#.++.+.#.+.+%#$......@@@@@@@            ",
"        @@@@@.@.@@@@@@@@@$.+$#&+.+.+@@..@....@.@@@$@@$          ",
"       @@@@@@.@@.@$@$@$$@$@+%#$#&#+@@.@..@@.@.@@$@@$$$$+        ",
"      @@@@@@@@@@@@@$@$@$@$$$+%+.+%$$@@$@@.@.@$@$@$$@$$$$        ",
"       @@@@$@$@$@$$@$$$$$$$#++++++#$@$@$$$$@$$@$$$$$$$$+        ",
"        @$@@$@$@$@$$$$$$$$          $$$$@$$$$$$$$$$$$$+         ",
"          $$@$$$$$$$$$$$               $$$$$$$$$$$$+            ",
"                                                                ",
"                                                                ",
"                                                                "};

static char *pato_azul[] = {
"64 32 6",
"  0",
"X 2",
"$ 1",
"* 5",
"= 4",
": 15",
"                                            XXXX::XX            ",
"                                            XXXX::XX            ",
"                                          XXXX::::::X           ",
"                                        XXXXXX::::  X           ",
"                                       XXXXXXX::::  X           ",
"                                       XXXXXXX::::  X**         ",
"                        ======     ==::XXXXXXX::::::X********   ",
"                 ====================::XXXXXXXXX::XXX********** ",
"           ==========================::XXXXXXXXXXXXXX********** ",
"           ==========================::XXXXXXXXXXXXXX***********",
"=== =================================::::XXXXXXXXXXX            ",
"  =====================================::XX                     ",
"  =====================================                         ",
"    ::=================================                         ",
"      ::===========================                             ",
"        :=======================                                ",
"        :=======================                                ",
"        :::::====::=============                                ",
"         ::::::::::=============                                ",
"           :::::::::============                                ",
"               $$:::==============                              ",
"         $$$$$$$$:::==============                              ",
"         $$$$$$$$$$ ==============                              ",
"         $$$$$$$$   ::============                              ",
"         $$$$$$     ::============                              ",
"         $$$$$$     ::=============                             ",
"           $$         ::===========                             ",
"                      ::==::=======                             ",
"                      ::==::=======                             ",
"                        ::::==:======                           ",
"                            :::======                           ",
"                               ::====                           "
};

static char *palete[] = {
"64 16 16",
"  0",
"a 1",
"b 2",
"c 3",
"d 4",
"e 5",
"f 6",
"g 7",
"h 8",
"i 9",
"j 10",
"k 11",
"l 12",
"m 13",
"n 14",
"o 15",
"                ",
"                ",
"                ",
"aaaaaaaaaaaaaaaa",
"aaaaaaaaaaaaaaaa",
"aaaaaaaaaaaaaaaa",
"bbbbbbbbbbbbbbbb",
"bbbbbbbbbbbbbbbb",
"bbbbbbbbbbbbbbbb",
"cccccccccccccccc",
"cccccccccccccccc",
"cccccccccccccccc",
"dddddddddddddddd",
"dddddddddddddddd",
"dddddddddddddddd",
"eeeeeeeeeeeeeeee",
"eeeeeeeeeeeeeeee",
"eeeeeeeeeeeeeeee",
"ffffffffffffffff",
"ffffffffffffffff",
"ffffffffffffffff",
"gggggggggggggggg",
"gggggggggggggggg",
"gggggggggggggggg",
"hhhhhhhhhhhhhhhh",
"hhhhhhhhhhhhhhhh",
"hhhhhhhhhhhhhhhh",
"iiiiiiiiiiiiiiii",
"iiiiiiiiiiiiiiii",
"iiiiiiiiiiiiiiii",
"jjjjjjjjjjjjjjjj",
"jjjjjjjjjjjjjjjj",
"jjjjjjjjjjjjjjjj",
"kkkkkkkkkkkkkkkk",
"kkkkkkkkkkkkkkkk",
"kkkkkkkkkkkkkkkk",
"llllllllllllllll",
"llllllllllllllll",
"llllllllllllllll",
"mmmmmmmmmmmmmmmm",
"mmmmmmmmmmmmmmmm",
"mmmmmmmmmmmmmmmm",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo",
"oooooooooooooooo"
};
*/
